package com.suxiaoxiao.springbootlearn.designpattern.factorypattern.simplefactory.factory;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * Pizza 类型枚举
 * @author zhaorongzhang
 */
@Getter
@ToString
@AllArgsConstructor
public enum PizzaTypeEnum {

    /**
     * 奶酪
     */
    CHEESE("cheese", "奶酪"),

    /**
     * 意大利
     */
    PEPPERONI("pepperoni", "意大利"),

    /**
     * 蛤蜊
     */
    CLAM("clam", "蛤蜊"),

    /**
     * 素食
     */
    VEGGIE("veggie", "素食");

    String code;

    String desc;

}
